{include file="block/layui" /}
<table class="layui-table">
    <thead>
    <tr>
        <th>用户昵称</th>
        <th>手机号码</th>
        <th>领取卡券名称</th>
        <th>领取时间</th>
    </tr>
    </thead>
    <tbody>
    {volist name="lists" id="item"}
    <tr>
        <td>{$item.nickname}</td>
        <td>{$item.phone}</td>
        <td>{$item.gift_name}</td>
        <td>{:date("Y-m-d H:i:s",$item['ctime'])}</td>
    </tr>
    {/volist}
    </tbody>
</table>
{$lists|raw}